const Router = require('koa-router')
const router = new Router({
  prefix: '/user'
})

router.post("/login", (ctx) => {
  const result = {
    statusInfo: {
      code: '200',
      "message": "login successfully",
    },
    data: {
      token: 'ow092won2093l2ln8dkng832bgbonwgwon28it9828gonow'
    }
  };
  ctx.body = result
});

module.exports = router